﻿// 1.1.4.10. Write a program that gets a number n and after that gets more n numbers and calculates and prints their sum. 

using System;

class SummingNNumbers
{
    static void Main()
    {
        Console.Write("Please enter how many numbers you want to sum: ");
        int n = int.Parse(Console.ReadLine());
        int sum = 0;
        for (int i = 1; i <= n; i++)
        {
            Console.Write("Please enter number {0}/{1}: ", i, n);
            sum += int.Parse(Console.ReadLine());
        }
        Console.WriteLine("The sum is: " + sum);
    }
}